package router

import (
	"github.com/gin-gonic/gin"
	"mbti/Controller"
	"mbti/GoFile"
	"mbti/middleware"
)

func CreateRoute(re *gin.Engine) *gin.Engine {

	GoFile.StudentManage(re)
	GoFile.GenerateMenu(re)
	GoFile.QuestionManage(re)
	//GoFile.CollegeManage(re)
	re.GET("api/info", middleware.AuthMiddleware(), Controller.Info)
	return re
}
